package org.pearl.spring.mybatis.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Created by TD on 2021/11/1
 */
@SpringBootApplication
@MapperScan(basePackages = {"org.pearl.spring.mybatis.demo.dao"})
@EnableTransactionManagement
public class SampleMybatisApplication {
    public static void main(String[] args) {
        SpringApplication.run(SampleMybatisApplication.class, args);
    }
}
